Decision Server REST API - ruleapps/{ruleappname}/{ruleappversion}/{rulesetname}/{rulesetversion}/archive Resource - GET Method

Returns the archive of a ruleset identified by its name and version number and by the name and version number of its RuleApp. If the repository does not contain such a ruleset, the response body is empty and the HTTP status 204 is returned.

Sample Method Invocation

GET /api/v1/ruleapps/{ruleappname}/{ruleappversion}/{rulesetname}/{rulesetversion}/archive[?filename={string}]

Parameters

The method has the following parameters:
Name Value Type Use Description
filename string optional To specify the name of the downloaded file.

Request Content

None.

Response Content

The default content-type is application/octet-stream.

MIME Type: application/octet-stream

(Schema to go here)
(Schema to go here)

Status Codes

The method returns one of the following status codes:
Code Description
200 Successful completion.
204 Successful completion, no content available.
400 The parameters are not valid or they are missing.
401 The caller is not authorized for this request.
403 The caller is not allowed to complete this request.
404 The resource does not exist.
406 The requested content type or content encoding is not supported.
500 A severe problem has occurred, programmer's details are provided.

Available Since

8.0.1.0

Parent Topic: ruleapps/{ruleappname}/{ruleappversion}/{rulesetname}/{rulesetversion}/archive Resource